#ifndef PARAMS_H
#define PARAMS_H

#include "ros/ros.h"
typedef struct _Point2D_ {
    float x;
    float y;
    float yaw;
} Point2D;

typedef std::vector<Point2D> PointCloud2D;
typedef std::shared_ptr<PointCloud2D> PointCloud2DPtr;
// 函数用于创建PointCloud2DPtr并分配内存
inline PointCloud2DPtr CreatePointCloud2D() {
    return std::make_shared<PointCloud2D>();
}

// 定义配置参数
class Params
{
public:
    Params(){}
    Point2D g_cross_point_={0.0, 0.0, 0.0};
    bool get_cross_point_flag_ = false;
private:

};

#endif // PARAMS_H